package edu.ustb.mis.dm.simpleTest;


public class RunLinuxCommand {
	public static void main(String[] args) {
		RunLinuxCommand rlc = new RunLinuxCommand();
		rlc.run();
	}

	public void run() {
		try {
			Runtime runtime = Runtime.getRuntime();
			runtime.exec("halt -p");
		} catch (Exception e) {
			e.printStackTrace();
		}
	}
}
